package com.im.app;

import org.jivesoftware.smack.Roster;

import android.content.Intent;

import com.core.sdk.core.BaseApplication;
import com.im.db.DBManagerService;
import com.im.service.SmackService;

public class ImApplication extends BaseApplication {
	
	private String userJID = null;
	private Roster roster;
	@Override
	public void onCreate() {
		super.onCreate();
		Intent it = new Intent(this,SmackService.class);
		startService(it);
		
		Intent db = new Intent(this,DBManagerService.class);
		startService(db);
		
	}

	public String getUserJID() {
		return userJID;
	}

	public void setUserJID(String userJID) {
		this.userJID = userJID;
	}

	public Roster getRoster() {
		return roster;
	}

	public void setRoster(Roster roster) {
		this.roster = roster;
	}
}
